export const crudOptions = {
    options: {
        height: '100%',
        maxHeight: 'auto'
    },
    formOptions: {},
    pageOptions: {},
    rowHandle: {
        remove: {
            show: false
        },
        edit: {
            show: false
        },
        custom: []
    },
    columns: [
        {
            title: '',
            key: 'name',
            form: {
                // disabled: true,
                // rules: [{ required: true, message: '请输入' }]
                component: {
                    props: {}
                }
            }
        },
        {
            title: '创建时间',
            key: 'createTime',
            sortable: false,
            type: 'datetime',
// search: { disabled: true }, //开启查询
            form: {disabled: true}, // 表单配置
            disabled: true // 是否隐藏列
        },
        {
            title: '更新时间',
            key: 'updateTime',
            sortable: false,
            type: 'datetime',
// search: { disabled: true }, //开启查询
            form: {disabled: true}, // 表单配置
            disabled: true // 是否隐藏列
        },
    ]
}
